package com.uchiha.nova.core.tool.function;

import org.springframework.lang.Nullable;

/**
 * @author 周林静
 * @Date 2021/4/29 16:01
 * @Version 1.0
 */
@FunctionalInterface
public interface CheckedSupplier<T> {

    /**
     * Run the Supplier
     *
     * @return T
     * @throws Throwable CheckedException
     */
    @Nullable
    T get() throws Throwable;

}
